package com.codemart.lanze.common.exception;

import org.springframework.http.HttpStatus;

/**
 * 认证异常
 */
public class AuthenticationException extends BaseException {

	private static final long serialVersionUID = 1L;

	public AuthenticationException() {
		super(HttpStatus.UNAUTHORIZED.value(), HttpStatus.UNAUTHORIZED.getReasonPhrase());
	}

	public AuthenticationException(String msg) {
		super(msg);
	}

	public AuthenticationException(int code, String msg) {
		super(code, msg);
	}

	public AuthenticationException(int code, String msg, Throwable e) {
		super(code, msg, e);
	}
}
